package config

import (
	"strings"

	"databasex"
	"databasex/dbx"
)

var (
	EsEndpoints = []string{strings.Join([]string{"http://", databasex.ServerConfig.Host, ":9200"}, "")}
	EsUserName  = "elastic"
	EsPassword  = "123456"
	EsDataBase  = "test_database"
)
var Es = dbx.ElasticsearchSet{
	DataBase: dbx.ReplicaSet{
		RsName:   "",
		UserName: EsUserName,
		Password: EsPassword,
		Addrs:    EsEndpoints,
	},
	TLS: dbx.TLS{
		Enable: false,
	},
}
var (
	KibanaEndpoints = []string{databasex.ServerConfig.Host + ":2379"}
	KibanaUserName  = "root"
	KibanaPassword  = "123456"
)
